clearTimeout(timerid)
clearInterval(timerid)
<script> ??? count; function start() { document.???('start_button').??? (???, function() { count = ???; window.setInterval(function() { count???; ???.getElementById('seconds').??? = count; },???); // Every 1 second }; } ???.???(???, start); // When the body is completely loaded. </script> <body> <button id='start_button'>Start the game</button><br> <p>Elapsed time: <span id='seconds></span></p> </body>